package com.onlinevideo.entity;

import java.io.Serializable;

public class VideoItem implements Serializable {

    private Long id;

    private Long videoId;

    private String url;
    private Integer sortCount;
    private String name;

    @Override
    public String toString() {
        return "VideoItem{" +
                "id=" + id +
                ", videoId=" + videoId +
                ", url='" + url + '\'' +
                ", sortCount=" + sortCount +
                ", name='" + name + '\'' +
                '}';
    }

    public VideoItem() {
    }

    public VideoItem(Long id, Long videoId, String url, Integer sortCount, String name) {
        this.id = id;
        this.videoId = videoId;
        this.url = url;
        this.sortCount = sortCount;
        this.name = name;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getVideoId() {
        return videoId;
    }

    public void setVideoId(Long videoId) {
        this.videoId = videoId;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getSortCount() {
        return sortCount;
    }

    public void setSortCount(Integer sortCount) {
        this.sortCount = sortCount;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
